﻿<%@ Page Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="staff.aspx.cs" Inherits="CRM.admin.staff" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" Height="127px" Width="731px" 
    AutoGenerateColumns="False" BackColor="White" BorderColor="#336666" 
    BorderStyle="Double" BorderWidth="3px" CellPadding="4" GridLines="Horizontal" 
        onrowcommand="GridView1_RowCommand">
        <RowStyle BackColor="White" ForeColor="#333333" />
        <Columns>
            <asp:BoundField HeaderText="staff Name" DataField="S_NAME" />
            <asp:BoundField HeaderText="staff add"  DataField="S_ADDRESS"/>
            <asp:BoundField HeaderText="staff city" DataField="S_CITY" />
            <asp:BoundField HeaderText="staff state" DataField="S_STATE" />
            <asp:BoundField DataField="S_PINCODE" HeaderText="s_pincode" />
            <asp:BoundField HeaderText="s_phone"  DataField="S_PHONE_NO"/>
            <asp:BoundField HeaderText="s_emial id" DataField="S_EMAIL_ID" />
            <asp:BoundField HeaderText="s_joindate"  DataField="S_JOIN_DATE"/>
            <asp:BoundField HeaderText="designation" DataField="S_DESIGNATION" />
            <asp:BoundField HeaderText="salery" DataField="SALARY" />
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Button ID="DTNDELETE" runat="server" Text="DELETE" 
                    CommandName="delete" CommandArgument= '<%# Eval("ID") %>' />
                    
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
</asp:Content>
